﻿/**
* 	autor: sminutoli
* 	03/07 agregué un booleano favoritos
* 	05/07 agregué un commands que va a tener el amigo
* 
**/

import com.dinmax.isolution.*

class Theme 
{
	
	private var id:String;
	private var name:String;
	private var index:String;
	private var description:String;
	private var icon:String;
	private var favorite:Boolean;
	private var commands:Array;


	public function refresh():Void {
		return;
	}
	
	public function getCommands():Array{
		return this.commands;
	}
	public function setCommands(newCommands:Array):Void{
		this.commands = newCommands;
		return;
	}

	
	public function getIcon():String{
		return this.icon;
	}
	public function setIcon(newIcon:String):Void{
		this.icon = newIcon;
		return;
	}

	public function getDescription():String{
		return this.description;
	}
	public function setDescription(newDescription:String):Void{
		this.description = newDescription;
		return;
	}

	public function getName():String{
		return this.name;
	}
	public function setName(newName:String):Void{
		this.name = newName;
		return;
	}

	public function getId():String{
		return this.id;
	}
	public function setId(newId:String):Void{
		this.id = newId;
		return;
	}
	
	public function getIndex():String{
		return this.index;
	}
	public function setIndex(newIndex:String):Void{
		this.index= newIndex;
		return;
	}
	
	public function getFavorite():Boolean {
		return this.favorite;
	}
	public function setFavorite(fav:Boolean):Void {
		trace("Theme setFavorite= "+fav);
		this.favorite = fav;
		return;
	}
	
	
}